module tyrc_bus2_mux #(
    `include "tyrc_param.v")(
    input [SEL2_WD -1:0]sel,
    input [WORD_WD -1:0]in0,
    input [WORD_WD -1:0]in1,
    input [WORD_WD -1:0]in2,
    
    output[WORD_WD -1:0]out
);
    
assign out = (sel[0] ? in0 : {WORD_WD{1'b0}}) |
             (sel[1] ? in1 : {WORD_WD{1'b0}}) |
             (sel[2] ? in2 : {WORD_WD{1'b0}}) ;

endmodule
